-
Notifications
You must be signed in to change notification settings - Fork 814
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
Remove or increase the consul MAX_SERVICES limit #1938
Comments
Hi @jkoppe - we're happy to increase the limit within reasonable bounds. The current threshold of 50 felt in the ballpark for us, but was not painstakingly researched. What's a number that makes sense for your particular use case? |
While
While this is not a sustainable solution, it will help us be a bit more empirical about this decision. |
I bumped it up to 5000 to make sure it fit in our entire infrastructure for the foreseeable future. Then I made a monitor. Then I tried to edit my monitor later, and I can't edit the monitor: https://app.datadoghq.com/monitors#284027/edit I wonder if the edit page for this monitor is broken because of the # of services. :) |
Hi @jkoppe , hmm it's weird that your monitor edit page is broken. It shouldn't be that sensitive to an increase in tags - we'll take a look internally. I apologize for having misunderstood you initially, if you look at the code, the To further elaborate, |
Thanks. I patched consul.py on all of my servers and I know see what I'd expect! I also droped MAX_SERVICES back to 50. I think this particular issue can be closed. However, I made another monitor which is very similar to the other one I created, and it also, isn't editable: https://app.datadoghq.com/monitors#287256/edit. Let me know if I should open a ticket with support on this or if I should just wait for you to check on here. |
Great to hear that the patch was helpful! Yea, would you mind opening a ticket directly with support regarding your issue with editing monitors? Closing this issue as suggested |
I get why this limit exists -- you probably don't want to overwhelm your systems with unbounded growth.
We have hundreds of services with healthchecks in our consul clusters. The current limit of 50 is drastically hampering our ability to make use of the Service Checks + Monitor features of datadog. At best, we could whitelist the most critical 50 services and get monitoring for those, but I'd really like to be able to monitor hundreds of distinct services.
I can easily submit a pull request for the dd-agent limit increase, but I wanted to discuss with y'all if anything else is necessary on your server side and what a more reasonable & agreed upon limit might be.
The text was updated successfully, but these errors were encountered: